#include <stdio.h>

int fsize(FILE* fp) {
  int r = fseek(fp, 0, SEEK_END);
  return ftell(fp);
}

size_t get_file_content(const char* filename, char* buffer) {
  FILE* fp = fopen(filename, "rb");
  assert(fp);
  int size = fsize(fp);
  rewind(fp);
  fread(fp, size, 1, fp)
  fclose(fp);
}
